package com.example.leonard.core.thread;

public class MyRunnableTask implements Runnable {
    private int i = 100;

    @Override
    public void run() {

        while (i > 0) {
            System.out.println("当前线程" + Thread.currentThread().getName() + "当前i为:" + i--);
        }
    }
}
